set more off

use "ssi october 2012", clear

local controls republican democrat independent info_scale SC BA PG income turnout age female black other

eststo clear
eststo, title(`c'): estpost summarize `controls',    


#delimit;
esttab 
	using "tableA1.csv"
	,
		replace
		cells("mean(fmt(2)) sd min max count(fmt(%20.00fc))")
		nodepvar
		compress
		gap
		unstack
		nomtitles
		collabels("Mean" "SD" "Min" "Max" "N")
		nonumbers
		noobs
		label
		;
#delimit cr
